###
 # @file CMakeLists.txt
 #
 # @license
 # Copyright (c) 2009-2018
 # Fraunhofer Institute for Algorithms and Scientific Computing SCAI
 # for Fraunhofer-Gesellschaft
 #
 # This file is part of the SCAI framework LAMA.
 #
 # LAMA is free software: you can redistribute it and/or modify it under the
 # terms of the GNU Lesser General Public License as published by the Free
 # Software Foundation, either version 3 of the License, or (at your option)
 # any later version.
 #
 # LAMA is distributed in the hope that it will be useful, but WITHOUT ANY
 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
 # more details.
 #
 # You should have received a copy of the GNU Lesser General Public License
 # along with LAMA. If not, see <http://www.gnu.org/licenses/>.
 # @endlicense
 #
 # @brief CMake configuration for testsupport.
 # @author Andreas Longva
 # @date 09.11.2017
###

set (TESTSUPPORT_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include PARENT_SCOPE)

file (COPY ${CMAKE_CURRENT_SOURCE_DIR}/test_summary.xslt  DESTINATION ${CMAKE_BINARY_DIR}/testsupport )
file (COPY ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py  DESTINATION ${CMAKE_BINARY_DIR}/testsupport )
file (COPY ${CMAKE_CURRENT_SOURCE_DIR}/testsupport.py  DESTINATION ${CMAKE_BINARY_DIR}/testsupport )

add_library(testsupport STATIC src/GlobalTempDir.cpp src/uniquePath.cpp)
target_include_directories(testsupport PRIVATE include)
